package com.zbkj.crmeb.chant.request;

import com.zbkj.crmeb.chant.vo.RoomGoodsVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class SortGoodsRequest implements Serializable {

    @ApiModelProperty(value = "房间ID")
    @NotNull(message = "房间ID不能为空")
    private Integer roomId;

    @ApiModelProperty(value = "商品ID")
    @NotNull(message = "商品ID不能为空")
    private List<RoomGoodsVo> goods;

}